package cn.psvmc.cxzapi.model.order;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @Author YWX
 * @Classname TOrderComm
 * @Description 订单备注表
 * @Date 2024/10/28 21:42
 **/
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_order_comm")
public class TOrderComm implements Serializable {

    //订单备注id
    @TableId(value = "ocid", type = IdType.AUTO)
    private Integer ocid;

    //订单号
    @TableField("order_code")
    private String orderCode;

    //备注类型1平台2商家
    @TableField("comm_type")
    private Integer commType;

    //备注
    @TableField("comm")
    private String comm;

    //创建人id
    @TableField(value = "createid", fill = FieldFill.INSERT)
    private Integer createid;

    //创建时间
    @TableField(value = "createtime", fill = FieldFill.INSERT)
    private LocalDateTime createtime;

}
